
/* 删除索引 index 处元素 */
void remove(int* nums, int size, int index) {
    for (int i = index; i < size - 1; ++i)
        nums[i] = nums[i + 1];
}
